<html>
<head>
     <title>Help: wstd</title>
</head>
<body>
     <center><table><tbody>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <h4>wstd</h4>Compute a weighted standard deviation
                  <br><small>Last modified: 15-Feb-2011 14:20:19</small>

          </tr>
          <tr>
             <td style="border: 0px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <a href="http://guillaumemaze.googlecode.com/svn/trunk/matlab/codes/stats/wstd.m">Download here</a>
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd; font-size:12px;">
                  <br>% wstd Compute a weighted standard deviation<br>%<br>% S = wstd(W,X)<br>% <br>% Compute the standard deviation of values into array X with weights W.<br>% 	S  = sum(W) / (v1-v2) * sum( W*(X-wmean(W,X)).^2 )<br>% with<br>%	v1 = sum(W).^2;<br>%	v2 = sum(W^2);<br>%<br>% See also:<br>%	wmean<br>%<br>% Ref:<br>%	http://en.wikipedia.org/wiki/Mean_square_weighted_deviation<br>%<br>% Created: 2011-02-14.<br>% All rights reserved.
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff; font-size:12px;">
                  Last update: 2011 March 04, 17:46<br>
                  Created by Guillaume Maze<br>
                  More informations at: <a href="http://codes.guillaumemaze.org/matlab">codes.guillaumemaze.org/matlab</a><br>
             </td>
          </tr>
     </tbody></table></center>
</body>
</html>
